.subtitle {
	color: #7f8c8d;
	font-size: 1.2rem;
	max-width: 800rpx;
	margin: 0 auto;
	line-height: 1.6;
}

.versions-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30rpx;
	width: 100%;
	max-width: 1400rpx;
}

.version-title {
	text-align: center;
	font-size: 1.8rem;
	color: #34495e;
	margin-bottom: 20rpx;
	font-weight: 600;
}

/* Modal Base Styles */
.modal-container {
	background: rgba(0, 0, 0, 0.5);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	opacity: 1;
	pointer-events: all;
	transition: opacity 0.3s ease;
}

.modal-container.active {
	opacity: 1;
	pointer-events: all;
}

.modal {
	background: white;
	border-radius: 20rpx;
	box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.15);
	width: 95%;
	padding: 30rpx;
	position: relative;
	transform: translateY(20rpx);
	transition: transform 0.4s ease;
	text-align: center;
}

.modal-container.active .modal {
	transform: translateY(0);
}

.close-btn {
	position: absolute;
	top: 15rpx;
	right: 20rpx;
	background: none;
	border: none;
	font-size: 1.8rem;
	color: #95a5a6;
	cursor: pointer;
	transition: color 0.2s;
	width: 100rpx;
	height: 100rpx;
	line-height: 100rpx;
	z-index: 1000;
}

.close-btn:hover {
	color: #e74c3c;
}

.close-btn::after{
	display: none;
}

/* Modal Header */
.modal-header {
	margin-bottom: 25rpx;
}

.modal-title {
	font-size: 2.2rem;
	font-weight: 700;
	margin-bottom: 10rpx;
}

.modal-subtitle {
	font-size: 28rpx;
	color: #7f8c8d;
	/* max-width: 80%; */
	margin: 0 auto;
}

/* Stats Container */
.stats-container {
	display: flex;
	justify-content: space-between;
	margin: 30rpx 0;
	flex-wrap: wrap;
	gap: 10rpx;
}

.stat-card {
	flex: 1;
	min-width: 120rpx;
	padding: 15rpx 10rpx;
	border-radius: 12rpx;
	/* margin: 0 5rpx; */
	box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease;
}

.last-card{
	flex: none;
	width: 100%;
}

.stat-card:hover {
	transform: translateY(-5rpx);
}

.stat-value {
	font-size: 36rpx;
	font-weight: 700;
	margin-bottom: 5rpx;
}

.stat-label {
	font-size: 24rpx;
	color: #7f8c8d;
}

/* Message Section */
.message {
	background: #f8f9fa;
	border-radius: 15rpx;
	padding: 20rpx;
	margin: 25rpx 0;
	position: relative;
	overflow: hidden;
}

.message::before {
	content: "";
	position: absolute;
	top: -20rpx;
	left: 15rpx;
	font-size: 6rem;
	color: rgba(52, 152, 219, 0.1);
	font-family: Georgia, serif;
}

.message-text {
	font-size: 28rpx;
	line-height: 1.6;
	color: #2c3e50;
	position: relative;
	z-index: 1;
}

.highlight {
	background: linear-gradient(120deg, rgba(46, 204, 113, 0.2), rgba(46, 204, 113, 0));
	padding: 0 5rpx;
	border-radius: 4rpx;
}

/* Button Styles */
.btn {
	display: inline-block;
	padding: 14rpx 35rpx;
	border-radius: 50rpx;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
	margin: 10rpx 5rpx;
	box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.1);
}

.btn-continue {
	background: linear-gradient(to right, #3498db, #2e86de);
	color: white;
}

.btn-continue:hover {
	transform: translateY(-3rpx);
	box-shadow: 0 6rpx 15rpx rgba(52, 152, 219, 0.4);
}

.btn-close {
	background: #ecf0f1;
	color: #7f8c8d;
}

.btn-close:hover {
	background: #d5dbdb;
}

/* Celebration Elements */
.confetti {
	position: absolute;
	z-index: 1;
	width: 10rpx;
	height: 10rpx;
	background-color: #f1c40f;
	border-radius: 50%;
	animation: confetti-fall 5s ease-in-out infinite;
}

@keyframes confetti-fall {
	0% {
		transform: translateY(-100rpx) rotate(0deg);
		opacity: 1;
	}

	100% {
		transform: translateY(600rpx) rotate(720deg);
		opacity: 0;
	}
}

/* Version 1 - Green Theme */
.version-1 .modal {
	background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
	border: 2rpx solid #2ecc71;
}

.version-1 .modal-title {
	color: #27ae60;
}

.version-1 .stat-card {
	background: #ecfbf0;
	border: 1rpx solid #d5f5e3;
}

.version-1 .stat-card:nth-child(1) .stat-value {
	color: #3498db;
}

.version-1 .stat-card:nth-child(2) .stat-value {
	color: #2ecc71;
}

.version-1 .stat-card:nth-child(3) .stat-value {
	color: #e74c3c;
}

.version-1 .stat-card:nth-child(4) .stat-value {
	color: #9b59b6;
}

/* Version 2 - Blue Theme */
.version-2 .modal {
	background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
	border: 2rpx solid #3498db;
}

.version-2 .modal-title {
	color: #2980b9;
}

.version-2 .stat-card {
	background: #e8f4fd;
	border: 1rpx solid #d6eaf8;
}

.version-2 .stat-card:nth-child(1) .stat-value {
	color: #3498db;
}

.version-2 .stat-card:nth-child(2) .stat-value {
	color: #2ecc71;
}

.version-2 .stat-card:nth-child(3) .stat-value {
	color: #e74c3c;
}

.version-2 .stat-card:nth-child(4) .stat-value {
	color: #9b59b6;
}

/* Version 3 - Purple Theme */
.version-3 .modal {
	background: linear-gradient(145deg, #ffffff 0%, #f8f5ff 100%);
	border: 2rpx solid #9b59b6;
}

.version-3 .modal-title {
	color: #8e44ad;
}

.version-3 .stat-card {
	background: #f5eef8;
	border: 1rpx solid #e8daef;
}

.version-3 .stat-card:nth-child(1) .stat-value {
	color: #3498db;
}

.version-3 .stat-card:nth-child(2) .stat-value {
	color: #2ecc71;
}

.version-3 .stat-card:nth-child(3) .stat-value {
	color: #e74c3c;
}

.version-3 .stat-card:nth-child(4) .stat-value {
	color: #9b59b6;
}

/* Preview Cards */
.preview-card {
	background: white;
	border-radius: 16rpx;
	box-shadow: 0 8rpx 25rpx rgba(0, 0, 0, 0.08);
	width: 580rpx;
	padding: 25rpx;
	transition: transform 0.3s ease;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.preview-card:hover {
	transform: translateY(-10rpx);
}

.preview-title {
	font-size: 1.4rem;
	color: #2c3e50;
	margin-bottom: 15rpx;
	text-align: center;
}

.preview-stats {
	display: flex;
	justify-content: space-between;
	margin: 15rpx 0;
}

.preview-stat {
	flex: 1;
	text-align: center;
	padding: 10rpx;
	border-radius: 10rpx;
	margin: 0 5rpx;
	font-size: 0.9rem;
	min-width: 20%;
}

.preview-stat-value {
	font-weight: bold;
	font-size: 1.2rem;
	margin-bottom: 5rpx;
}


/* Animation for the modal */
@keyframes float {
	0% {
		transform: translateY(0rpx);
	}

	50% {
		transform: translateY(-10rpx);
	}

	100% {
		transform: translateY(0rpx);
	}
}

.floating {
	animation: float 4s ease-in-out infinite;
}